#coding: utf-8
import json
import xlwt
import xlrd
import datetime

def create_excel(type=0):
    workExcel = xlwt.Workbook(encoding='utf-8')
    draw(0, 0, workExcel, type=0)
    workExcel.save('data_Excel2.xls')

def draw(title_type, is_MTD, workExcel, type):
    sheet0 = workExcel.add_sheet(u'福建区域')
    for i in range(0, 10):
        print i
        c = i+1
        print c
        sheet0.write(i, 0, i)
    return sheet0

def HaveFun():
    if __name__ == '__main__':
        create_excel()
        print 'ok'
HaveFun()